#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QTimer>

#include "foregroundextractor.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    ForegroundExtractor* _foreground;
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    
private slots:
    void on_pushButton_clicked();
    void on_timeExedeed();
    void on_checkBox_2_clicked();

    void on_checkBox_clicked();

    void on_horizontalSlider_2_actionTriggered(int action);

    void on_radioButton_Learned_clicked();

    void on_radioButton_Source_clicked();

    void on_radioButton_Average_clicked();

    void on_radioButton_Delta_clicked();

    void on_radioButton_MDI_clicked();

    void on_radioButton_None_clicked();

    void on_radioButton_Laplace_clicked();

    void on_radioButton_Sobel_clicked();

    void on_radioButton_NormalMap_clicked();

    void on_radioButton_previous_clicked();

    void on_radioButton_average_clicked();

    void on_radioButton_learnedframe_clicked();

    void on_pushButton_2_clicked();

protected:
     void closeEvent(QCloseEvent *event);
private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
